package com.my.study.springframework.test.listener;

import com.my.study.springframework.context.ApplicationListener;
import com.my.study.springframework.test.OrderEvent;

/**
 * 衣服订单监听者
 *
 * @author: yidujun
 * @create: 2021/07/13 10:06
 */
public class DressOrderListener implements ApplicationListener<OrderEvent> {

    @Override
    public void onApplicationEvent(OrderEvent event) {
        System.out.println("--------衣服订单------");
        System.out.println(event);
    }
}
